#ifndef _RENZO_CAMERA_
#define _RENZO_CAMERA_

#include "RenzoMustHave.h"
#include "RenzoPrecompiled.h"

namespace Renzo
{
class RENZODERER_API Camera : public Object
{
protected:
	Camera(void);
	~Camera(void);
	static Object* create();		
	friend class ResourceManager;	

public:
	void setView(const Float3& eye, const Float3& lookat, const Float3& up);
	void setViewCenteredBox(const BoundingBox* bb);

	Float3& getEye();
	Float3& getLookat();
	Float3& getUp();
	float getNearPlane();
	float getFarPlane();

protected:
	Float3 eye;
	Float3 lookat;
	Float3 up;
	float nearPlane;
	float farPlane;

};
}

#endif